//
//  LogCatRemoteModel.m
//  LogCat
//
//  Created by 清风徐来 on 2024/1/6.
//

#import "LogCatRemoteModel.h"

@implementation LogCatRemoteModel


/// 初始化远端配置
/// - Parameter configDict: 字典
-(instancetype)initWithRemoteDictionary:(NSDictionary *)configDict {
    self = [super init];
    if (self) {
        self.rank = [configDict[@"rank"] integerValue];
        self.isAvailable = [configDict[@"isAvailable"] boolValue];
        self.locationName = configDict[@"locationName"];
        self.appId = configDict[@"appId"];
        self.appKey = configDict[@"appKey"];
        self.remoteUrl = configDict[@"url"];
        self.availableVersions = configDict[@"availableVersions"];
        self.bundleId = configDict[@"bundleId"];
    }
    return self;
}

@end
